package shuashuami.hb.com.view;

import android.app.Dialog;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;

import shuashuami.hb.com.hbclient.R;

/**
 * Created by Administrator on 2017/6/20.
 */
//审核提示框
public class ExaminePromptDialog extends Dialog {
    private Button btnEnter;

    public ExaminePromptDialog(Context context) {
        super(context, R.style.Dialog);
        setCustomDialog();
    }

    private void setCustomDialog() {
        View mView = LayoutInflater.from(getContext()).inflate(R.layout.dialog_examine_prompt_layout, null);
        btnEnter = (Button) mView.findViewById(R.id.btn_dialog_examine_prompt_enter);
        btnEnter.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                dismiss();
            }
        });
        super.setContentView(mView);
    }

    @Override
    public void setContentView(int layoutResID) {
    }

    @Override
    public void setContentView(View view, ViewGroup.LayoutParams params) {
    }

    @Override
    public void setContentView(View view) {
    }
}
